#ifndef _KDMA_H_
#define _KDMA_H_

#include <csp_shared_types.h>

void write_mbox_blocking(uint32_t msg);

void little_put_blocking(ls_addr_t from, ea_addr_t to, ls_size_t size, int slot);
void little_get_blocking(ea_addr_t from, ls_addr_t to, ls_size_t size, int slot);

void little_put(ls_addr_t from, ea_addr_t to, ls_size_t size, int slot);
void little_get(ea_addr_t from, ls_addr_t to, ls_size_t size, int slot);

void large_put(ls_addr_t from, ea_addr_t to, ls_size_t size, int slot);
void large_get(ea_addr_t from, ls_addr_t to, ls_size_t size, int slot);

void large_put_blocking(ls_addr_t from, ea_addr_t to, ls_size_t size, int slot);
void large_get_blocking(ea_addr_t from, ls_addr_t to, ls_size_t size, int slot);

void little_put_barrier(ls_addr_t from, ea_addr_t to, ls_size_t size, int slot);

#endif
